﻿using System.Collections.Generic;
using NanoERP.Model.Poco;

namespace NanoERP.Model.SystemMgmt
{
    public class DataDictionaryTree : SYS_DataDictionaryType
    {
        List<DataDictionaryTree> _children = null;
        private List<SYS_DataDictionary> _items = null;

        /// <summary>
        /// 子分类
        /// </summary>
        public IList<DataDictionaryTree> Children
        {
            get
            {
                return _children ?? (_children = new List<DataDictionaryTree>());
            }
        }

        /// <summary>
        /// 当前分类下的数据字典项
        /// </summary>
        public IList<SYS_DataDictionary> Items
        {
            get
            {
                return _items ?? (_items = new List<SYS_DataDictionary>());
            }
        }
    }
}
